home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96a.txt / 000179_icon-group-sender _Thu Aug 8 20:53:08 1996.msg < prev    next >
Internet Message Format  |  1996-09-05  |  2KB

  1. Received: by cheltenham.cs.arizona.edu; Mon, 12 Aug 1996 07:46:10 MST
  2. Date: Thu, 8 Aug 1996 20:53:08 -0300 (ADT)
  3. From: DA <k3is@unbsj.ca>
  4. To: "Chris D. Tenaglia" <cdt@post.its.mcw.edu>
  5. Cc: icon-group@cs.arizona.edu
  6. Subject: Re: CGI Tips
  7. In-Reply-To: <Pine.ULT.3.90.960808145431.22371A-100000@post.its.mcw.edu>
  8. Message-Id: <Pine.SOL.3.91.960808204832.24550B-100000@fundy>
  9. Mime-Version: 1.0
  10. Content-Type: TEXT/PLAIN; charset=US-ASCII
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12. Status: O
  13.  
  14.  
  15.  
  16. On Thu, 8 Aug 1996, Chris D. Tenaglia wrote:
  17.  
  18. > I'm trying a CGI-SCRIPT in icon. I read some information
  19. > but I can't quite get mine to work. I think I'm close, but
  20. > missing some small detail. Here's the scenario...
  21. > httphone name=fred
  22. > and returns HTML results to stdout. It also logs it's activity
  23. > to a log file. It works interactively. I borrowed and modified
  24. > some other form to send the query. Netscape shows it :
  25. > http://www.mcw.edu/~cdt/cgi-bin/httphone?name=fred
  26. > and returns one of those 404 messages about URL not found.
  27. > The log file indicates no activity. Am I real close and just
  28. > need a tip? or do I need to dig into a good book or web site
  29. > for the technical details. Thanx in advance!
  30.  
  31.  
  32. You have to ask your admin if you are allowed to run CGI scripts, and 
  33. s/he will be able to tell you how to call them. By creating a 
  34. subdirectory, cgi-bin, under your $HOME/public_html (or the equivalent) 
  35. doesn't mean you are ready to run CGI scripts. The server has to be 
  36. configured in such a way so that you can call them. Usually, the way to 
  37. call a script is: http://domain/cgi-bin/scrip_name
  38. but the file script_name has to be in that directory which you may not 
  39. have write permission to. 
  40.  
  41. The best way is to contact your admin and see if you are allowed to run 
  42. CGI scripts.
  43.  
  44. Regards,
  45. Qusay
  46.  
  47.  
  48.  
  49. r to other directories
  50. in your home dir), or is it implict (so that perhaps you
  51. can refer only to things "below" your "www" directory)?
  52.  
  53. -- jd
  54.